#ifndef __RING_QUEUE_H_H__
#define __RING_QUEUE_H_H__

#include <stdint.h>




uint8_t UartRxBufferInit(void);

uint8_t UartRxBuffer_BlockIn(uint8_t* data,uint8_t length);

uint8_t UartRxBuffer_BlockOut(uint8_t*buff,uint8_t bufflen,uint32_t*length);

uint16_t UartRxBuffer_Length(void);

uint8_t UartRxBuffer_SIn(uint8_t data);

uint8_t UartRxBuffer_SOut(uint8_t*data);

uint8_t UartRxBuffer_BlockRead(uint8_t*data,uint8_t dataLen,uint8_t* ReadLen);


uint8_t UartTxBufferInit(void);

uint8_t UartTxBuffer_BlockIn(uint8_t* data,uint8_t length);

uint8_t UartTxBuffer_BlockOut(uint8_t*buff,uint8_t bufflen,uint32_t*length);

uint16_t UartTxBuffer_Length(void);

uint8_t UartTxBuffer_SIn(uint8_t data);

uint8_t UartTxBuffer_SOut(uint8_t*data);

uint8_t UartTxBuffer_BlockRead(uint8_t*data,uint8_t dataLen,uint8_t* ReadLen);




#endif


